/**
 * 
 */
package cn.terrence.myrpc.common.serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * 
 * @author Terrence2013
 * 2018年1月19日 下午1:51:08
 * 序列化异常封装类
 */
public class CoderException extends RuntimeException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1216392350280805421L;

	private static Logger logger = LoggerFactory.getLogger(CoderException.class);
	
	public CoderException(String message, Throwable cause) {
		logger.error(message, cause);
	}

	public CoderException(String message) {
		logger.error(message);
	}

	public CoderException(Throwable cause) {
		logger.error("",cause);
	}
	
	
}
